All Questions
Tagged with executablecommand
11 questions
0votes
1answer
108views
Is `command -v program` always executable?
I am using the command -v "program" >/dev/null 2>&1 construct if I need to POSIX-ly find out if such program is installed in an if-statement. From its help page is not clear, ...
0votes
2answers
80views
How come I can change my PATH to gibberish and still use commands?
The environment variable PATH is the search path for executable commands, so I thought changing the PATH to something that doesn't exist (for instance, export PATH=blah) would make me unable to use ...
0votes
0answers
116views
How is it possible to call CwRsync.exe via a Bash Script with variables and arguments?
This is the commandline currently used to call Rsync that's part of Cygwin 64 install. rsync -aqHPR $CygSrcRoot/./$FolA1 $CygSrcRoot/./iMazing.Versions/Versions/$FolA1 $CygDstRoot/$DstCountFol --...
4votes
3answers
1kviews
In what format does piped output get sent and received from one command/program to another? [duplicate]
When a command is piped to another command in what way or in what format does the piped output exist/get sent? Is it a temporary file? Is it a string? And how does the command that receives the piped ...
3votes
3answers
42kviews
Check if a command is executable [duplicate]
How can you check if a command can be executable or not in Linux. Example: xeyes
7votes
2answers
4kviews
Why /usr/bin/rename.ul has an extension?
I found a command rename.ul on my Ubuntu machine. It comes from util-linux package. It is odd for me because I rarely see executables with extension. In addition, it seems unnecessary because the ...
1vote
1answer
3kviews
How to list all commands available from $PATH [duplicate]
I would like to list all commands available in $PATH. Any idea ?
2votes
1answer
4kviews
What is the full path for the pkill command? [duplicate]
I'm trying to add pkill to my sudoers file, but I think I need the full path for it to not give a syntax error. Does anybody know how to find it?
2votes
1answer
694views
auditctl comm vs. exe
I was looking at Linux audit reports. Here is a log from ausearch. time->Mon Nov 23 12:30:30 2015 type=PROCTITLE msg=audit(1448281830.422:222556): proctitle=6D616E006175736561726368 type=...
5votes
1answer
2kviews
What does `init [2]` mean in the COMMAND column of ps?
Reading What do the brackets around processes mean? I understand that the executable name is printed. Linux ps man page: Sometimes the process args will be unavailable; when this happens, ps will ...
4votes
4answers
21kviews
Find executable files recursively
I have got the directory called Test and a few directories inside it. Both Test and the directories inside it have executable files. I'd like to print them with ls. I'd use this command. ls -l `find ...